package com.example.tse.rbhttpservice.service.member.model;

import java.util.List;
import java.util.ArrayList;
import com.example.tse.rbhttpservice.service.RudderResponse;


/**
 * 获取小调研问卷内容，仅获取一条有效调研问卷
 * @author wliu
 * edit tse
 */
public class MemberSurveyGetQuestions extends RudderResponse{
    
    private String id = "";
		
    
    private String title = "";
		
    
    private String type = "";
		
    
    private String opt1 = "";
		
    
    private String opt2 = "";
		
    
    private String opt3 = "";
		
    
    private String opt4 = "";
		
    
    private String opt5 = "";
		
	
    /**
     * @return id
     */	
    public String getId() { 
	    return this.id;
    };
	
	/**
     * @return id
     */	
    public void setId(String id) { 
        this.id = id;
    };
    
    /**
     * @return title
     */	
    public String getTitle() { 
	    return this.title;
    };
	
	/**
     * @return title
     */	
    public void setTitle(String title) { 
        this.title = title;
    };
    
    /**
     * @return type
     */	
    public String getType() { 
	    return this.type;
    };
	
	/**
     * @return type
     */	
    public void setType(String type) { 
        this.type = type;
    };
    
    /**
     * @return opt1
     */	
    public String getOpt1() { 
	    return this.opt1;
    };
	
	/**
     * @return opt1
     */	
    public void setOpt1(String opt1) { 
        this.opt1 = opt1;
    };
    
    /**
     * @return opt2
     */	
    public String getOpt2() { 
	    return this.opt2;
    };
	
	/**
     * @return opt2
     */	
    public void setOpt2(String opt2) { 
        this.opt2 = opt2;
    };
    
    /**
     * @return opt3
     */	
    public String getOpt3() { 
	    return this.opt3;
    };
	
	/**
     * @return opt3
     */	
    public void setOpt3(String opt3) { 
        this.opt3 = opt3;
    };
    
    /**
     * @return opt4
     */	
    public String getOpt4() { 
	    return this.opt4;
    };
	
	/**
     * @return opt4
     */	
    public void setOpt4(String opt4) { 
        this.opt4 = opt4;
    };
    
    /**
     * @return opt5
     */	
    public String getOpt5() { 
	    return this.opt5;
    };
	
	/**
     * @return opt5
     */	
    public void setOpt5(String opt5) { 
        this.opt5 = opt5;
    };
    
	
        
    public static void filter(MemberSurveyGetQuestions member) {
        if (member.getId() == null) {
            member.setId("");
        }
        if (member.getTitle() == null) {
            member.setTitle("");
        }
        if (member.getType() == null) {
            member.setType("");
        }
        if (member.getOpt1() == null) {
            member.setOpt1("");
        }
        if (member.getOpt2() == null) {
            member.setOpt2("");
        }
        if (member.getOpt3() == null) {
            member.setOpt3("");
        }
        if (member.getOpt4() == null) {
            member.setOpt4("");
        }
        if (member.getOpt5() == null) {
            member.setOpt5("");
        }
    }
}
